/*
 * Copyright (C) 2017 yixun All Rights Reserved.
 * 
 * CommissionRules.java
 */
package com.yixun.qfbao.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

/**
 * [文件名称]<br>
 * CommissionRules.java<br>
 * <br>
 * [文件描述]<br>
 * 佣金规则表 pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2017-10-18 18:27:59 创建 陶俊代码生成器<br>
 * 
 * @author 陶俊代码生成器
 * @version 1.00
 */
public class CommissionRules implements Serializable{
    /**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 *主键ID
	 */
	private Long id;
	/**
	 *佣金规则公共表主键
	 */
	private Long relationId;
	/**
	 *分组ID
	 */
	private String groupId;
	/**
	 *佣金类型
	 */
	private String commissionType;
	/**
	 *佣金比例
	 */
	private String commissionRate;
	/**
	 *佣金金额
	 */
	private String commissionAmmount;
	/**
	 *规则
	 */
	private String rule;
	/**
	 *结算周期
	 */
	private String settlementCycle;
	/**
	 *生效时间
	 */
	@JSONField(format = "yyyy-MM-dd")
	private Date effectTime;
	/**
	 *失效时间
	 */

	private Date lostTime;
	/**
	 *优先级
	 */
	private String level;
	/**
	 *备注
	 */
	private String remark;
	/**
	 *排序
	 */
	private String sort;
	/**
	 *创建人主键ID
	 */
	private Long createUserId;
	/**
	 *创建时间
	 */

	private Date createTime;
	/**
	 *更新人主键ID
	 */
	private Long updateUserId;
	/**
	 *更新时间
	 */
	private Date updateTime;
	/**
	 *状态
	 */
	private String state;
	/**
	 *删除
	 */
	private String delFlag;
	


	/**	 
	 *设置 :主键ID
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**	 
	 *获取 :主键ID
	 */
	public Long getId() {
		return this.id;
	}

	/**	 
	 *设置 :佣金规则公共表主键
	 */
	public void setRelationId(Long relationId) {
		this.relationId = relationId;
	}

	/**	 
	 *获取 :佣金规则公共表主键
	 */
	public Long getRelationId() {
		return this.relationId;
	}

	/**	 
	 *设置 :分组ID
	 */
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	/**	 
	 *获取 :分组ID
	 */
	public String getGroupId() {
		return this.groupId;
	}

	/**	 
	 *设置 :佣金类型
	 */
	public void setCommissionType(String commissionType) {
		this.commissionType = commissionType;
	}

	/**	 
	 *获取 :佣金类型
	 */
	public String getCommissionType() {
		return this.commissionType;
	}

	/**	 
	 *设置 :佣金比例
	 */
	public void setCommissionRate(String commissionRate) {
		this.commissionRate = commissionRate;
	}

	/**	 
	 *获取 :佣金比例
	 */
	public String getCommissionRate() {
		return this.commissionRate;
	}

	/**	 
	 *设置 :佣金金额
	 */
	public void setCommissionAmmount(String commissionAmmount) {
		this.commissionAmmount = commissionAmmount;
	}

	/**	 
	 *获取 :佣金金额
	 */
	public String getCommissionAmmount() {
		return this.commissionAmmount;
	}

	/**	 
	 *设置 :规则
	 */
	public void setRule(String rule) {
		this.rule = rule;
	}

	/**	 
	 *获取 :规则
	 */
	public String getRule() {
		return this.rule;
	}

	/**	 
	 *设置 :结算周期
	 */
	public void setSettlementCycle(String settlementCycle) {
		this.settlementCycle = settlementCycle;
	}

	/**	 
	 *获取 :结算周期
	 */
	public String getSettlementCycle() {
		return this.settlementCycle;
	}

	/**	 
	 *设置 :生效时间
	 */
	public void setEffectTime(Date effectTime) {
		this.effectTime = effectTime;
	}

	/**	 
	 *获取 :生效时间
	 */
	public Date getEffectTime() {
		return this.effectTime;
	}

	/**	 
	 *设置 :失效时间
	 */
	public void setLostTime(Date lostTime) {
		this.lostTime = lostTime;
	}

	/**	 
	 *获取 :失效时间
	 */
	public Date getLostTime() {
		return this.lostTime;
	}

	/**	 
	 *设置 :优先级
	 */
	public void setLevel(String level) {
		this.level = level;
	}

	/**	 
	 *获取 :优先级
	 */
	public String getLevel() {
		return this.level;
	}

	/**	 
	 *设置 :备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**	 
	 *获取 :备注
	 */
	public String getRemark() {
		return this.remark;
	}

	/**	 
	 *设置 :排序
	 */
	public void setSort(String sort) {
		this.sort = sort;
	}

	/**	 
	 *获取 :排序
	 */
	public String getSort() {
		return this.sort;
	}

	/**	 
	 *设置 :创建人主键ID
	 */
	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	/**	 
	 *获取 :创建人主键ID
	 */
	public Long getCreateUserId() {
		return this.createUserId;
	}

	/**	 
	 *设置 :创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**	 
	 *获取 :创建时间
	 */
	public Date getCreateTime() {
		return this.createTime;
	}

	/**	 
	 *设置 :更新人主键ID
	 */
	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	/**	 
	 *获取 :更新人主键ID
	 */
	public Long getUpdateUserId() {
		return this.updateUserId;
	}

	/**	 
	 *设置 :更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**	 
	 *获取 :更新时间
	 */
	public Date getUpdateTime() {
		return this.updateTime;
	}

	/**	 
	 *设置 :状态
	 */
	public void setState(String state) {
		this.state = state;
	}

	/**	 
	 *获取 :状态
	 */
	public String getState() {
		return this.state;
	}

	/**	 
	 *设置 :删除
	 */
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	/**	 
	 *获取 :删除
	 */
	public String getDelFlag() {
		return this.delFlag;
	}

}
